import request from '@/utils/request'

//删除文件，把文件的真实路径地址传过来
const del = (data) => axios.delete('/file/del', data);
//上传文件
const upload = (data) => axios.post('/file/upload', data);

export default {
  del,
  upload,
}